<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"> <style>
	.KEYW {color: #933;}
	.COMM {color: #bbb; font-style: italic;}
	.NUMB {color: #393;}
	.STRN {color: #393;}
	.REGX {color: #339;}
	.linenumber {border-right: 1px dotted #666; color: #666; font-style: normal;}
	</style></head><body><pre><span class='linenumber'>  1</span> <span class="COMM">/*
<span class='linenumber'>  2</span> 2112 NLS Support Betas
<span class='linenumber'>  3</span>    12/2007.
<span class='linenumber'>  4</span> */</span><span class="WHIT">
<span class='linenumber'>  5</span> 
<span class='linenumber'>  6</span> 
<span class='linenumber'>  7</span> </span><span class="WHIT">
<span class='linenumber'>  8</span> </span><span class="COMM">//Namespace 2112 </span><span class="WHIT">
<span class='linenumber'>  9</span> 
<span class='linenumber'> 10</span> </span><span class="COMM">// wenn gibt, dann nehmen, ansonsten initialisieren...</span><span class="WHIT">
<span class='linenumber'> 11</span> </span><span class="NAME">window.NS2112</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">window.NS2112</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 12</span> 
<span class='linenumber'> 13</span> </span><span class="WHIT">
<span class='linenumber'> 14</span> </span><span class="NAME">NS2112.makeHey</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'> 15</span> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 16</span> </span><span class="WHIT">   </span><span class="NAME">alert</span><span class="PUNC">(</span><span class="STRN">"Net2112 Namespace."</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 17</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 18</span> 
<span class='linenumber'> 19</span> 
<span class='linenumber'> 20</span> </span><span class="NAME">NS2112.NLSData</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">{</span><span class="PUNC">}</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="COMM">//empty </span><span class="WHIT">
<span class='linenumber'> 21</span> 
<span class='linenumber'> 22</span> 
<span class='linenumber'> 23</span> </span><span class="NAME">NS2112.NLSData.elements</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">Array</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 24</span> 
<span class='linenumber'> 25</span> </span><span class="NAME">NS2112.NLSData.aliases</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">   </span><span class="WHIT">
<span class='linenumber'> 26</span> </span><span class="WHIT">            </span><span class="STRN">"nls2112_TagCloud"</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">"2112"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 27</span> </span><span class="WHIT">            </span><span class="STRN">"nls2112_ResizeText"</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">"2113"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 28</span> </span><span class="WHIT">            </span><span class="STRN">"2114"</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">"2114"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 29</span> </span><span class="WHIT">            </span><span class="STRN">"2115"</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">"2115"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 30</span> </span><span class="WHIT">            </span><span class="STRN">"2116"</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">"2116"</span><span class="WHIT">
<span class='linenumber'> 31</span> 
<span class='linenumber'> 32</span> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 33</span> 
<span class='linenumber'> 34</span> 
<span class='linenumber'> 35</span> 
<span class='linenumber'> 36</span> </span><span class="NAME">NS2112.NLSData.German</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 37</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_TagCloud"</span><span class="PUNC">:</span><span class="STRN">"Tag Wolke"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 38</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_ResizeText"</span><span class="PUNC">:</span><span class="STRN">"Ziehen Sie die rechte untere Ecke, um die Fenstergr��e zu �ndern."</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 39</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_TagCloudIntro"</span><span class="PUNC">:</span><span class="STRN">"Bei Klick auf einen Men�link, wird die Seite in einem neuen Fenster ge�ffnet."</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 40</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_ResizeFooter"</span><span class="PUNC">:</span><span class="STRN">"�ndern der Gr��e durch ziehen meiner rechten unteren Ecke"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 41</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_TagCloudFooter"</span><span class="PUNC">:</span><span class="STRN">"Ende der Tag Cloud"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 42</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_Home"</span><span class="PUNC">:</span><span class="STRN">"Home"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 43</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_Boardnn"</span><span class="PUNC">:</span><span class="STRN">"Forum"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 44</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_Alten-und Pflegeeinrichtungen"</span><span class="PUNC">:</span><span class="STRN">"Alten-und Pflegeeinrichtungen"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 45</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_Welcome"</span><span class="PUNC">:</span><span class="STRN">"Willkommen"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 46</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_Verkehr"</span><span class="PUNC">:</span><span class="STRN">"Verkehr"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 47</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_Eberbach"</span><span class="PUNC">:</span><span class="STRN">"Eberbach"</span><span class="WHIT">
<span class='linenumber'> 48</span> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 49</span> 
<span class='linenumber'> 50</span> 
<span class='linenumber'> 51</span> </span><span class="NAME">NS2112.NLSData.English</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 52</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_TagCloud"</span><span class="PUNC">:</span><span class="STRN">"Tag Cloud"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 53</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_ResizeText"</span><span class="PUNC">:</span><span class="STRN">"Drag lower right Corner of the window to resize it."</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 54</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_TagCloudIntro"</span><span class="PUNC">:</span><span class="STRN">"Click on a Menulink will open the page in a new window."</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 55</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_ResizeFooter"</span><span class="PUNC">:</span><span class="STRN">"Resize me by dragging my right lower edge."</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 56</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_TagCloudFooter"</span><span class="PUNC">:</span><span class="STRN">"End of Tag Cloud"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 57</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_Home"</span><span class="PUNC">:</span><span class="STRN">"Home"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 58</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_Board"</span><span class="PUNC">:</span><span class="STRN">"Board"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 59</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_Alten-und Pflegeeinrichtungen"</span><span class="PUNC">:</span><span class="STRN">"senior-citizens home"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 60</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_Welcome"</span><span class="PUNC">:</span><span class="STRN">"Willkommen"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 61</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_Verkehr"</span><span class="PUNC">:</span><span class="STRN">"Traffic"</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 62</span> </span><span class="WHIT">   </span><span class="STRN">"nls2112_Eberbach"</span><span class="PUNC">:</span><span class="STRN">"Eberbach"</span><span class="WHIT">
<span class='linenumber'> 63</span> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 64</span> 
<span class='linenumber'> 65</span> 
<span class='linenumber'> 66</span> </span><span class="NAME">NS2112.NLSData.mapping</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">             </span><span class="WHIT">
<span class='linenumber'> 67</span> </span><span class="WHIT">             </span><span class="STRN">"EN"</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">NS2112.NLSData.English</span><span class="PUNC">,</span><span class="WHIT">
<span class='linenumber'> 68</span> </span><span class="WHIT">             </span><span class="STRN">"DE"</span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NAME">NS2112.NLSData.German</span><span class="WHIT">
<span class='linenumber'> 69</span> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 70</span> 
<span class='linenumber'> 71</span> 
<span class='linenumber'> 72</span> 
<span class='linenumber'> 73</span> 
<span class='linenumber'> 74</span> 
<span class='linenumber'> 75</span> 
<span class='linenumber'> 76</span> 
<span class='linenumber'> 77</span> 
<span class='linenumber'> 78</span> 
<span class='linenumber'> 79</span> 
<span class='linenumber'> 80</span> </span><span class="NAME">NS2112.nlsProvider</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">strLanguage</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'> 81</span> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 82</span> 	</span><span class="NAME">this.Language</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">strLanguage</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 83</span> </span><span class="WHIT">   </span><span class="NAME">this.NLSData</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">NS2112.NLSData.mapping</span><span class="PUNC">[</span><span class="NAME">strLanguage</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 84</span> 
<span class='linenumber'> 85</span> </span><span class="WHIT">   </span><span class="NAME">this.getTextByID</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">strTxtID</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'> 86</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 87</span> </span><span class="WHIT">      </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">this.NLSData</span><span class="PUNC">[</span><span class="NAME">strTxtID</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 88</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'> 89</span> </span><span class="COMM">/*
<span class='linenumber'> 90</span>    this.getTextByAlias = function(strTxtAlias) 
<span class='linenumber'> 91</span>    {  
<span class='linenumber'> 92</span>       txtID = NS2112.NLSData.aliases[strTxtAlias] ;
<span class='linenumber'> 93</span>       return this.getTextByID(txtID)  ;
<span class='linenumber'> 94</span>    }
<span class='linenumber'> 95</span> */</span><span class="WHIT">
<span class='linenumber'> 96</span> </span><span class="WHIT">   </span><span class="NAME">this.registerElement</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">strName</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'> 97</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'> 98</span> </span><span class="WHIT">      </span><span class="NAME">myElement</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">NS2112.NLSData.elements</span><span class="PUNC">[</span><span class="NAME">strName</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'> 99</span> </span><span class="WHIT">      </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="NAME">myElement</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="COMM">//not registered yet</span><span class="WHIT">
<span class='linenumber'>100</span> </span><span class="WHIT">         </span><span class="NAME">NS2112.NLSData.elements</span><span class="PUNC">[</span><span class="NAME">strName</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">strName</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>101</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>102</span> 
<span class='linenumber'>103</span> </span><span class="WHIT">   </span><span class="NAME">this.getElementText</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">strElementID</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>104</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">     </span><span class="WHIT">
<span class='linenumber'>105</span> </span><span class="WHIT">         </span><span class="NAME">strText</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getTextByID</span><span class="PUNC">(</span><span class="NAME">strElementID</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">     </span><span class="WHIT">
<span class='linenumber'>106</span> </span><span class="WHIT">         </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NAME">strText</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>107</span> </span><span class="WHIT">         </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>108</span> </span><span class="WHIT">            </span><span class="WHIT">
<span class='linenumber'>109</span> </span><span class="WHIT">            </span><span class="NAME">strText</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">strElementID</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'>110</span> </span><span class="WHIT">            </span><span class="NAME">strText</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">strText.replace</span><span class="PUNC">(</span><span class="REGX">/nls2112_/g</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="STRN">''</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">  </span><span class="WHIT">
<span class='linenumber'>111</span> </span><span class="WHIT">         </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>112</span> </span><span class="WHIT">         </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">strText</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>113</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>114</span> 
<span class='linenumber'>115</span> </span><span class="WHIT">   </span><span class="NAME">this.setElementText</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">strElementID</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>116</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">     </span><span class="WHIT">
<span class='linenumber'>117</span> </span><span class="WHIT">         </span><span class="NAME">strText</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getTextByID</span><span class="PUNC">(</span><span class="NAME">strElementID</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>118</span> </span><span class="WHIT">         </span><span class="NAME">myElement</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="NAME">strElementID</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>119</span> </span><span class="WHIT">         </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="NAME">myElement</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>120</span> </span><span class="WHIT">         </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>121</span> </span><span class="WHIT">            </span><span class="NAME">myElement.innerHTML</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">strText</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>122</span> </span><span class="WHIT">            </span><span class="WHIT">
<span class='linenumber'>123</span> </span><span class="WHIT">         </span><span class="PUNC">}</span><span class="WHIT">      </span><span class="WHIT">
<span class='linenumber'>124</span> </span><span class="WHIT">         </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">strText</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>125</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>126</span> 
<span class='linenumber'>127</span> </span><span class="WHIT">   </span><span class="NAME">this.setElementTexts</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>128</span> </span><span class="WHIT">   </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>129</span> </span><span class="WHIT">      </span><span class="KEYW">for</span><span class="PUNC">(</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">X</span><span class="WHIT"> </span><span class="KEYW">in</span><span class="WHIT"> </span><span class="NAME">NS2112.NLSData.elements</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>130</span> </span><span class="WHIT">      </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>131</span> </span><span class="WHIT">      </span><span class="WHIT">
<span class='linenumber'>132</span> </span><span class="WHIT">         </span><span class="NAME">myElement</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="NAME">X</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>133</span> </span><span class="WHIT">         </span><span class="KEYW">if</span><span class="PUNC">(</span><span class="KEYW">null</span><span class="WHIT"> </span><span class="PUNC">!=</span><span class="WHIT"> </span><span class="NAME">myElement</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>134</span> </span><span class="WHIT">            </span><span class="NAME">myElement.innerHTML</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">this.getTextByID</span><span class="PUNC">(</span><span class="NAME">X</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>135</span> </span><span class="WHIT">      </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>136</span> </span><span class="WHIT">   </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>137</span> 
<span class='linenumber'>138</span> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>139</span> 
<span class='linenumber'>140</span> 
<span class='linenumber'>141</span> 
<span class='linenumber'>142</span> 
<span class='linenumber'>143</span> 
<span class='linenumber'>144</span> 
<span class='linenumber'>145</span> 
<span class='linenumber'>146</span> 
<span class='linenumber'>147</span> 
<span class='linenumber'>148</span> 
<span class='linenumber'>149</span> 
<span class='linenumber'>150</span> </span><span class="COMM">/*utils*/</span><span class="WHIT">
<span class='linenumber'>151</span> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">consoleOn</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>152</span> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>153</span> 	</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myElement</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="STRN">'SystemCanvas'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>154</span> 	</span><span class="COMM">//alert('Activating System') ;</span><span class="WHIT">
<span class='linenumber'>155</span> 	</span><span class="KEYW">if</span><span class="PUNC">(</span><span class="NAME">myElement</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>156</span> 	</span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>157</span> 		</span><span class="NAME">myElement.style.visibility</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'visible'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>158</span> 	</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>159</span> 	</span><span class="COMM">//else</span><span class="WHIT">
<span class='linenumber'>160</span> 	</span><span class="COMM">//alert('no system window') ;</span><span class="WHIT">
<span class='linenumber'>161</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>162</span> 
<span class='linenumber'>163</span> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">consoleOut</span><span class="PUNC">(</span><span class="NAME">strMsg</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>164</span> </span><span class="PUNC">{</span><span class="WHIT"> </span><span class="COMM">/*Ausgabe*/</span><span class="WHIT">
<span class='linenumber'>165</span> 	</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myElement</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="STRN">'SystemCanvas'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>166</span> 	</span><span class="KEYW">if</span><span class="PUNC">(</span><span class="NAME">myElement</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>167</span> 	</span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>168</span> 		</span><span class="NAME">myElement.innerHTML</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">strMsg</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="STRN">'&lt;br>'</span><span class="WHIT"> </span><span class="PUNC">+</span><span class="WHIT"> </span><span class="NAME">myElement.innerHTML</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>169</span> 	</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>170</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>171</span> 
<span class='linenumber'>172</span> 
<span class='linenumber'>173</span> 
<span class='linenumber'>174</span> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">consoleOff</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> 
<span class='linenumber'>175</span> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>176</span> 	</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myElement</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="STRN">'SystemCanvas'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>177</span> 	</span><span class="KEYW">if</span><span class="PUNC">(</span><span class="NAME">myElement</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>178</span> 	</span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>179</span> 		</span><span class="NAME">myElement.style.visibility</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">'hidden'</span><span class="WHIT"> </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>180</span> 		</span><span class="NAME">myElement.innerHTML</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">''</span><span class="WHIT">  </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>181</span> 	</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>182</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>183</span> 
<span class='linenumber'>184</span> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">consoleClear</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>185</span> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>186</span> 	</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myElement</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">document.getElementById</span><span class="PUNC">(</span><span class="STRN">'SystemCanvas'</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>187</span> 	</span><span class="KEYW">if</span><span class="PUNC">(</span><span class="NAME">myElement</span><span class="PUNC">)</span><span class="WHIT">
<span class='linenumber'>188</span> 	</span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>189</span> 		</span><span class="NAME">myElement.innerHTML</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="STRN">''</span><span class="WHIT">  </span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>190</span> 	</span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>191</span> 
<span class='linenumber'>192</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>193</span> 
<span class='linenumber'>194</span> 
<span class='linenumber'>195</span> 
<span class='linenumber'>196</span> 
<span class='linenumber'>197</span> 
<span class='linenumber'>198</span> </span><span class="COMM">/*funktion zum abschicken eines Formulars mit Enter-Taste*/</span><span class="WHIT">
<span class='linenumber'>199</span> 
<span class='linenumber'>200</span> 
<span class='linenumber'>201</span> </span><span class="KEYW">function</span><span class="WHIT"> </span><span class="NAME">evalKeyForSubmit</span><span class="PUNC">(</span><span class="NAME">event</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">frm</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="WHIT">
<span class='linenumber'>202</span> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>203</span> </span><span class="WHIT">    </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">myEvent</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">event</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NAME">event</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">(</span><span class="NAME">window.event</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NAME">window.event</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="STRN">""</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>204</span> </span><span class="WHIT">    </span><span class="COMM">//alert(myEvent.keyCode);</span><span class="WHIT">
<span class='linenumber'>205</span> 
<span class='linenumber'>206</span>    </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">event</span><span class="WHIT"> </span><span class="PUNC">&&</span><span class="WHIT"> </span><span class="NAME">myEvent.keyCode</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NUMB">13</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="COMM">// IE: ...event.keyCode...</span><span class="WHIT">
<span class='linenumber'>207</span>    </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>208</span>       </span><span class="COMM">// ENTER gedr�ckt, also Formular abschicken      </span><span class="WHIT">
<span class='linenumber'>209</span>       </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="KEYW">true</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>210</span>    </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>211</span>    </span><span class="KEYW">else</span><span class="WHIT">
<span class='linenumber'>212</span>       </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="KEYW">false</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>213</span> 
<span class='linenumber'>214</span> </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>215</span> 
<span class='linenumber'>216</span> 
<span class='linenumber'>217</span> 
<span class='linenumber'>218</span> 
<span class='linenumber'>219</span> 
<span class='linenumber'>220</span> </span><span class="COMM">/***************************************************************************************************/</span><span class="WHIT">
<span class='linenumber'>221</span> 
<span class='linenumber'>222</span> 
<span class='linenumber'>223</span> 
<span class='linenumber'>224</span> </span><span class="NAME">NS2112.namespace</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">ns</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>225</span> 
<span class='linenumber'>226</span>     </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="PUNC">!</span><span class="NAME">ns</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="PUNC">!</span><span class="NAME">ns.length</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>227</span>         </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="KEYW">null</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>228</span>     </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>229</span> 
<span class='linenumber'>230</span>     </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">levels</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">ns.split</span><span class="PUNC">(</span><span class="STRN">"."</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>231</span>     </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">nsobj</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">NS2112</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>232</span> 
<span class='linenumber'>233</span>     </span><span class="COMM">// YAHOO is implied, so it is ignored if it is included</span><span class="WHIT">
<span class='linenumber'>234</span>     </span><span class="KEYW">for</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">i</span><span class="PUNC">=</span><span class="PUNC">(</span><span class="NAME">levels</span><span class="PUNC">[</span><span class="NUMB">0</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="STRN">"NS2112"</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">?</span><span class="WHIT"> </span><span class="NUMB">1</span><span class="WHIT"> </span><span class="PUNC">:</span><span class="WHIT"> </span><span class="NUMB">0</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="NAME">i</span><span class="PUNC">&lt;</span><span class="NAME">levels.length</span><span class="PUNC">;</span><span class="WHIT"> </span><span class="PUNC">++</span><span class="NAME">i</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>235</span>         </span><span class="NAME">nsobj</span><span class="PUNC">[</span><span class="NAME">levels</span><span class="PUNC">[</span><span class="NAME">i</span><span class="PUNC">]</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">nsobj</span><span class="PUNC">[</span><span class="NAME">levels</span><span class="PUNC">[</span><span class="NAME">i</span><span class="PUNC">]</span><span class="PUNC">]</span><span class="WHIT"> </span><span class="PUNC">||</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>236</span>         </span><span class="NAME">nsobj</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">nsobj</span><span class="PUNC">[</span><span class="NAME">levels</span><span class="PUNC">[</span><span class="NAME">i</span><span class="PUNC">]</span><span class="PUNC">]</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>237</span>     </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>238</span> 
<span class='linenumber'>239</span>     </span><span class="KEYW">return</span><span class="WHIT"> </span><span class="NAME">nsobj</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>240</span> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>241</span> 
<span class='linenumber'>242</span> 
<span class='linenumber'>243</span> </span><span class="NAME">NS2112.extend</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="NAME">subclass</span><span class="PUNC">,</span><span class="WHIT"> </span><span class="NAME">superclass</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>244</span>     </span><span class="KEYW">var</span><span class="WHIT"> </span><span class="NAME">f</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">function</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>245</span>     </span><span class="NAME">f.prototype</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">superclass.prototype</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>246</span>     </span><span class="NAME">subclass.prototype</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="KEYW">new</span><span class="WHIT"> </span><span class="NAME">f</span><span class="PUNC">(</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>247</span>     </span><span class="NAME">subclass.prototype.constructor</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">subclass</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>248</span>     </span><span class="NAME">subclass.superclass</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">superclass.prototype</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>249</span>     </span><span class="KEYW">if</span><span class="WHIT"> </span><span class="PUNC">(</span><span class="NAME">superclass.prototype.constructor</span><span class="WHIT"> </span><span class="PUNC">==</span><span class="WHIT"> </span><span class="NAME">Object.prototype.constructor</span><span class="PUNC">)</span><span class="WHIT"> </span><span class="PUNC">{</span><span class="WHIT">
<span class='linenumber'>250</span>         </span><span class="NAME">superclass.prototype.constructor</span><span class="WHIT"> </span><span class="PUNC">=</span><span class="WHIT"> </span><span class="NAME">superclass</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>251</span>     </span><span class="PUNC">}</span><span class="WHIT">
<span class='linenumber'>252</span> </span><span class="PUNC">}</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>253</span> 
<span class='linenumber'>254</span> </span><span class="NAME">NS2112.namespace</span><span class="PUNC">(</span><span class="STRN">"NLS"</span><span class="PUNC">)</span><span class="PUNC">;</span><span class="WHIT">
<span class='linenumber'>255</span> 
<span class='linenumber'>256</span> </span></pre></body></html>